﻿using BattlelogMobile.Core.Message;
using GalaSoft.MvvmLight.Messaging;
using Microsoft.Phone.Controls;

namespace BattlelogMobile.Client.View
{
    /// <summary>
    /// Description for SoldierPage.
    /// </summary>
    public partial class SoldierPage : PhoneApplicationPage
    {
        /// <summary>
        /// Initializes a new instance of the SoldierPage class.
        /// </summary>
        public SoldierPage()
        {
            InitializeComponent();
        }

        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);
            Messenger.Default.Send(new SoldierVisibleMessage());
        }
    }
}